//面包屑
const path = ['仓库管理', '出库管理', {
	label: '领料出库列表',
	name: 'receiveMaterial'
}, '列表详情'];
//状态条
const stepOption = {
	activeStep: 0,
	step: [{
			title: '创建出库单',
			description: ''
		}
	]
};
//单号和状态
const tabFormInline = [];
//领料单基础信息
const tableFormInline = [];
//表头—— 商品明细
const tableHeaderData = [
	{
		prop:'poNumber',
		label:'采购单号',
		width:''
	},
	{
		prop:'dsa',
		label:'出库仓库',
		width:''
	},
	{
		prop:'goods',
		label:'商品编码',
		width:''
	},
	{
		prop:'styleNumber',
		label:'款号',
		width:''
	},
	{
		prop:'productCategoryCategory',
		label:'品类',
		width:''
	},
	{
		prop:'description',
		label:'描述',
		width:''
	},
	{
		prop:'eee',
		label:'克拉重',
		width:''
	},
	{
		prop:'netGoldWeight',
		label:'净金重',
		width:''
	},
	{
		prop:'netWeight',
		label:'产品总重',
		width:''
	},
	{
		prop:'mainQuantity',
		label:'数量',
		width:''
	},
]
//假数据
const mockData = [{
	exclusiveCode: Math.random().toFixed(4),
}]
const tableDataOut = [];
//分页
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 100,
	pageSizeArr: [10, 20, 30, 40]
};
const formInline = {}
let Model = {
	data() {
		return {
			Model: {
				queryData: undefined,
				path,
				pager,
				activeTab: '1',
				tabFormInline,						//单号和状态
				tableFormInline,					//领料单基础信息					
				stepOption,							//状态条
				tableHeaderData,					//商品明细（表头）
				leadingin:0,						//默认非手动导入
				Outofstock:'1',					//出库否
				OutofstockBtn:'1',
				importFileDialog:false,
				fileupName:'',						//上传的文件名
				tableDataOut:[],
				formInline,
				materialsTableData:mockData,
				detailTableFrom: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab1TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab4TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
